import QtQuick 2.0

Item {
    width: 100
    height: 62

    property int inPackets: 0
    property int inBytes: 0
    property int outPackets: 0
    property int outBytes: 0

    Image {
        id: rxIcon
        source: "img/down.png"
        anchors.verticalCenter: parent.verticalCenter
    }

    Text {
        id: rxText
        anchors.verticalCenter: parent.verticalCenter;
        anchors.left: rxIcon.right; anchors.leftMargin: 5
        text: "recieved: " + inBytes + " bytes [" + inPackets + "]"
        color: "gray"; font.family: "Orbitron"; font.pointSize: 10
    }

    Image {
        id: txIcon
        source: "img/up.png"
        anchors.verticalCenter: parent.verticalCenter
        anchors.left: rxText.right; anchors.leftMargin: 5
    }

    Text {
        id: txText
        anchors.verticalCenter: parent.verticalCenter;
        anchors.left: txIcon.right; anchors.leftMargin: 5
        text: "sent: " + outBytes + " bytes [" + outPackets + "]"
        color: "gray"; font.family: "Orbitron"; font.pointSize: 10
    }
}
